import request from '@/utils/request'

// 查询员工详细
export function getExperience(id) {
    return request({
        url: '/employee/employee/detail/' + id,
        method: 'get',
    })
}
// 员工是否启用
export function updateStatus(employeeId, status) {
    return request({
        url: `/experience/status/${employeeId}`,
        method: 'post',
        data: { status }  // 传递 '0' 或 '1'
    });
}